/**
 * @author Randall Reyes
 *
 */

import java.util.*;

public class SeatingManagement {
	
	 //private static Collection<Table> table = new ArrayList<Table>();
	
	 Table [] tb = new Table[13];
	 
	 public SeatingManagement()
	 {
		 for (int i=0;i<13;i++)
			tb[i]=new Table();
	 }
	
	public void markClean(int i){
		System.out.println("Select table that was cleaned");
		
			System.out.println("Setting Table "+i+" to Clean...");
			tb[i].settStatus("Clean");
			System.out.println("Table Set to Clean");
				
	}
	
	public String getStatus(int i){
		
		return tb[i].gettStatus();
		
	}
	
	public void markDirty(int i){
		System.out.println("Select table that is dirty");
	
			System.out.println("Marking Table as Dirty...");
			tb[i].settStatus("Dirty");
			System.out.println("Table Set to Dirty");
			}
	
	
	public void markOccupied(int i){
		System.out.println("Where is Customer going to be seated?");
		
			System.out.println("Setting Table as Occupied");
			tb[i].settStatus("Occupied");
			System.out.println("Table Set to Occupied");
		
	}
}

	
